#include<iostream>
#include<unistd.h>
#include<signal.h>
using std::cout;
using std::endl;

int num=0;

int main()
{
    alarm(1);
    while(1)
    {
        cout<<"num::"<<num<<endl;
        num++;
    }
    return 0;
}
